package org.jeecg.modules.villageCadreAssist.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.system.vo.ExtraData;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: vca_resident
 * @Author: jeecg-boot
 * @Date:   2022-02-13
 * @Version: V1.0
 */
@Data
@TableName("vca_resident")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="vca_resident对象", description="vca_resident")
public class VcaResident extends ExtraData implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private java.lang.Integer id;
	/**所属户*/
	@Excel(name = "家庭编号", width = 15)
    @ApiModelProperty(value = "家庭编号")
    private java.lang.String familyCode;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private java.lang.String residentName;
	/**身份证*/
	@Excel(name = "身份证", width = 15)
    @ApiModelProperty(value = "身份证")
    private java.lang.String idcard;
    //如果不在本次导入的总表中，则视为非本地户口
    @ApiModelProperty(value = "本地户口")
    private java.lang.Integer local;
    @ApiModelProperty(value = "是否党员")
    @Excel(name = "是否党员", width = 15, dicCode = "yn")
    private java.lang.Integer partyMember;
    @ApiModelProperty(value = "死亡")
    private java.lang.Integer death;
    @ApiModelProperty(value = "脱贫户")
    private java.lang.Integer poor;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private java.lang.String mobile;
	/**关系*/
	@Excel(name = "关系", width = 15)
    @ApiModelProperty(value = "关系")
    private java.lang.String familyRelation;

    @ApiModelProperty(value = "创建者")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改者*/
//	@Excel(name = "修改者", width = 15)
    @ApiModelProperty(value = "修改者")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**delFlag*/
//	@Excel(name = "delFlag", width = 15)
    @ApiModelProperty(value = "delFlag")
    @TableLogic
    private java.lang.Integer delFlag;
    @ApiModelProperty(value = "首字母")
    private java.lang.String firstLetter;
    @ApiModelProperty(value = "生日")
    private java.lang.Integer birthday;
    @ApiModelProperty(value = "年龄")
    @TableField(exist = false)
    private java.lang.Integer year;
    @ApiModelProperty(value = "性别")
    private java.lang.Integer sex;

    @Excel(name = "所属村组", width = 15)
    @ApiModelProperty(value = "所属村组")
    private String hostAddress;

    private String orgCode;


    @TableField(exist = false)
    private VcaFamily family;

}
